<form method="post" action="<?php echo base_url(); ?>addmincont/updateProduct">
	<table>
		<tr>
			<th>
				Cat Name
			</th>
			<td>
				<input type="text" value="<?php echo $detail['cat_name'];?>" name="name" id="name">
			</td>
		</tr>
		<tr>
			<th>
				Cat Code
			</th>
			<td>
				<input type="text" value="<?php echo $detail['cat_code'];?>" name="code" id="code">
			</td>
		</tr>
		<tr>
			<th>
				Cat Price
			</th>
			<td>
				<input type="text" value="<?php echo $detail['cat_price'];?>" name="price" id="price">
				<input type="hidden" value="<?php echo $detail['cat_id'];?>" name="catid" id="catid">
			</td>
		</tr>
		<tr>
			<th>
				Cat Sort
			</th>
			<td>
				<input type="text" value="<?php echo $detail['cat_type_sub_sort_order'];?>" name="sort" id="sort">
			</td>
		</tr>
		<tr>
			<th>
				Cat Description
			</th>
			<td>
				<textarea rows="4" cols="26" name="description" id="description"><?php echo $detail['cat_description'];?></textarea>
			</td>
		</tr>
		<tr>
			<th>
				Cat Demension
			</th>
			<td>
				<textarea rows="4" cols="26" name="demension" id="demension"><?php echo $detail['cat_demension'];?></textarea>
			</td>
		</tr>
		<tr>
			<th>
				Cat Assembly
			</th>
			<td>
				<textarea rows="4" cols="26" name="assembly" id="assembly"><?php echo $detail['cat_assembly'];?></textarea>
			</td>
		</tr>
		<tr>
			<th>
				Cat Material
			</th>
			<td>
				<textarea rows="4" cols="26" name="material" id="material"><?php echo $detail['cat_material'];?></textarea>
			</td>
		</tr>
		<tr>
			<th>
				Cat Color
			</th>
			<td>
				<input type="text" value="<?php echo $detail['cat_color'];?>" name="color" id="color">
			</td>
		</tr>
		<tr>
			<th>
				Cat size
			</th>
			<td>
				<input type="text" value="<?php echo $detail['cat_size'];?>" name="size" id="size">
			</td>
		</tr>
		<tr>
			<td colspan="2" align="center">
				<input type="submit" value="Update" >
			</td>
		</tr>
	</table>
</form>